* {
    box-sizing: border-box;
}

html {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
}

body > svg {
    display: none;
}

nav {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    z-index: 25;
    border-top: 1px solid #D7DDE3; /*#A9B7C5*/
    border-bottom: 1px solid #D7DDE3; /*#A9B7C5*/
    padding: 12px;
}

.languages {
    display: flex;
    justify-content: center;
    margin: 10px;
}

.input-field {
    height: 36px;
    padding: 2px 15px 3px;
    font: inherit;
    font-weight: 600;
    border-radius: 3px;
    -webkit-appearance: none;
    color: #060607;
    background: #fff none;
    border: 1px solid #d2d6d7;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.08);
    transition: border-color 125ms;
    -webkit-tap-highlight-color: transparent;
}

.input-field:focus {
    outline: 0;
    padding: 2px 14px;
    border: 2px solid #1a9fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16);
}

#importContentField {
    margin: 0 12px;
}

#importContent {
    margin: 5px;
}

#lexicon {
    margin: 0 12px;
    width: 500px;
}

select {
    width: auto;
    padding: 0 35px 0 15px;
    color: #131F26;
    background:url() right center no-repeat #fff;
    -webkit-appearance: none;
    appearance: none;
    height: 2.625rem;
    font: 600 16px "Source Sans Pro",sans-serif;
    border: 1px solid #CED5D9;
    border-radius: 3px;
    -webkit-tap-highlight-color: transparent;
}

select:focus {
    padding: 0 34px 0 14px;
    outline: 0;
    border: 2px solid #1a9fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16);
}

#parameters {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-button {
    cursor: pointer;
    box-sizing: border-box;
    color: #FFFFFF;
    background: #1A9FFF;
    border-radius: 50%;
    border: none;
    padding: 8px;
    margin: 6px;
    height: 40px;
    width: 40px;
    outline: none;
}

.action-button:hover {
    background: #0798FF;
}

.action-button:focus {
    background: #0177CB;
}

.action-button:disabled {
    background: #F5F6F7;
}

.action-button:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 18px;
    width: 18px;
}

.action-label-button {
    cursor: pointer;
    box-sizing: border-box;
    color: #1A9FFF;
    background: transparent;
    border: none;
    padding: 8px;
    margin: 6px;
    height: 40px;
    outline: none;
}

.action-label-button:hover {
    color: #0798FF;
}

.action-label-button:focus {
    color: #0177CB;
}

.action-label-button:disabled {
    color: #F5F6F7;
}

.spacer {
    flex-grow: 2;
}

#clear:before {
    background: url() center center no-repeat;
}

#undo:before {
    background: url() center center no-repeat;
}

#redo:before {
    background: url() center center no-repeat;
}

#convert:before {
    background: url() center center no-repeat;
    background-size: contain;
}

#export:before {
    background: url() center center no-repeat;
}

#editor {
    width: 100vw;
    height: calc(100vh - 152px);
    touch-action: none;
}

/*** Interact page ***/

.nextOne {
    text-align: center;
    height: 60px;
}

#nextButton .icn {
    margin: 0 -6px -4px 6px;
}

#question {
    font-size: 2em;
    background-color: #f5f5f5;
    margin: 0;
    padding: 10px 0 10px;
    border-bottom: 1px solid #D7DDE3;
    text-align: center;
}

#result {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

/*** Index page ***/

.index-background {
    background: #f5f5f5;
}

@media screen and (min-width: 1024px) {
    .example-section {
        width: 1002px;
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 48px;
    }

    .example-section .btn {
        margin-left: 20px;
        padding: 0 .75em 2px 1.5em;
    }

    .grid-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        grid-auto-rows: minmax(100px, auto);
    }

    .grid-column-one {
        grid-column: 1;
        grid-row: 1;
        margin-right: 24px;
    }

    .grid-column-two {
        grid-column: 2;
        grid-row: 1;
        margin-left: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width:1023px) {
    .example-section {
        padding: 0 12px 48px;
    }
    .example-section .btn {
        padding: 0 .75em 2px 1.5em;
    }
    .grid-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        grid-auto-rows: minmax(100px, auto);
    }

    .grid-column-one {
        grid-column: 1;
        grid-row: 1;
        margin-right: 12px;
    }

    .grid-column-two {
        grid-column: 2;
        grid-row: 1;
        margin-left: 12px;
    }
}

@media screen and (max-width:768px) {
    .example-section {
        padding: 24px 18px 48px;
    }

    .example-section .btn {
        padding: 0 .5em 2px 1em;
    }

}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    select {
        padding: 0 24px 0 12px;
    }

    select:focus {
        padding: 0 23px 0 11px;
    }

    nav {
        padding: 12px 6px;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

.example-section h1 {
    font-size: 36px;
    line-height: 48px;
    padding: 24px 0 24px;
    margin: 0;
}

.example-section h2 {
    font-size: 24px;
    line-height: 24px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.example-section a {
    text-decoration: none;
    color: #1a9fff;
    transition: all 125ms;
}

.example-section li {
    margin-top: 15px;
}

.example-section .btn {
    height: 48px;
    line-height: 43px;
    background-color: rgba(0,0,0,.08);
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    color: #1a9fff;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    transition: all 125ms;
}

.example-section .notice {
    width: fit-content;
    padding: 12px 24px 12px 54px;
    margin-bottom: 24px;
    font-weight: 600;
    border-radius: 3px;
}

.example-section .notice-warning {
    color: #cd1e3c;
    background: #fae6e8;
}

.example-section .notice-info {
    color: #0065b8;
    background: #d8eefe;
}

.notice .notice-txt {
    font-size: 16px;
    line-height: 24px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.icn {
    margin: 0 2px -4px -12px;
    width: 20px;
    height: 20px;
}

.notice .icn {
    float: left;
    width: 24px;
    height: 24px;
    padding: 4px;
    margin: 6px 0 0 -36px;
    color: #fff;
    border-radius: 50%;
}

.notice .icn-info {
    background: #0065b8;
}

.notice .icn-warning {
    background: #cd1e3c;
}

.center {
    margin: 20px 0 20px;
    text-align: center;
}

.classic-btn {
    height: 36px;
    line-height: 30px;
    padding: 0 .75em 2px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    background: #1a9fff;
    box-shadow: 0 2px 8px -2px rgba(0,0,0,.2);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    transition: all 125ms;
}

.classic-btn:active {
    color: #fff;
    text-decoration: none;
    background: #0065b8;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .5);
}

.classic-btn:disabled {
    pointer-events: none;
    cursor: default;
    background-color: #ececec;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/** Undo redo Buttons **/

.nav-btn {
    display: inline-block;
    position: relative;
    cursor: pointer;
    height: 35px;
    line-height: 35px;
    padding: 0 1.5rem;
    color: #424242;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    outline: none;
    border: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 2px;
    -webkit-transition: all .1s ease-out;
    transition: all .1s ease-out;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.225);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.225);
}

.nav-btn > img {
    display: block;
    width: 50%;
    margin: 9px auto;
}

.nav-btn.btn-fab, .nav-btn.btn-fab-mini {
    overflow: hidden;
    position: relative;
    margin: auto 12px auto auto;
    padding: 0;
    line-height: normal;
    border-radius: 50%;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.225);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.225);
}
.nav-btn.btn-fab {
    width: 56px;
    height: 56px;
    font-size: 28px;
}
.nav-btn.btn-fab-mini {
    width: 40px;
    height: 40px;
    font-size: 24px;
}

/* Buttons Color */
.nav-btn.btn-lightBlue {
    color: #FFF;
    background-color: #1A9FFF;
}

.nav-btn.btn-lightBlue:active {
    color: #fff;
    text-decoration: none;
    background: #0065b8;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .5);
}

.nav-btn:disabled, .nav-btn[disabled] {
    pointer-events: none;
    cursor: default;
    background-color: #ececec;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.button-div {
    display: flex;
    margin: 5px;
}